<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class AddColumnsToCashTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::table('cash',function(Blueprint $table){
            $table -> string('phone','12')->nullable()->comment('手机号');
            $table -> string('alipay_account','50')->nullable()->comment('支付宝账号');
            $table -> string('true_name','255')->nullable()->comment('真是姓名');
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        //
    }
}
